package com.yycwxt.modules.admin.packfee;


import com.yycwxt.common.BaseService;
import com.yycwxt.domain.PackFee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

@Service
@Transactional
public class PackFeeService extends BaseService<PackFeeMapper, PackFee> {

    private final PackFeeMapper pfm;

    public PackFeeService(@Autowired PackFeeMapper pfm) {this.pfm = pfm;}
    public List<PackFee> selectAll(){
        return pfm.selectAll();
    }

    public List<PackFee> selectByInput(String input){
        return pfm.selectByInput(input);
    }


    public boolean add(PackFee packfee){
        return pfm.add(packfee);
    }

    public List<Object> findtype(){return pfm.findtype();}
}
